<template>
    <div>
        <section class="part" v-for="(part, partIndex) in tableList" :key="partIndex">
            <span class="tit">{{part.title}}</span>
            <el-table :data="part.data" border>
                <el-table-column v-for="(item, index) in part.cols" :key="index" :prop='item.prop' :label="item.label"></el-table-column>
            </el-table>
        </section>
    </div>
</template>
<script>
export default {
    name: 'litigation',
    data() {
        return {
            tableList: [
                {
                    title: '审判流程',
                    cols: [
                        {label : '发布时间', prop:'date'}, {label : '法院', prop:'code'}, {label : '案由', prop:'name'}, 
                        {label : '案件进度', prop:'type'}, {label : '当事人', prop:'type'}
                    ],
                    data: []
                },

                {
                    title: '重大税收违法',
                    cols: [
                        {label : '事件时间', prop:'name'}, {label : '案件上报日期', prop:'tel'}, {label : '案件性质', prop:'job'}, {label : '主要违法事实', prop:'address'},
                        {label : '纳税人识别号', prop:'tel'}, {label : '发布时间', prop:'tel'}, {label : '相关法律依据及税务处理处罚情况', prop:'tel'},
                        {label : '纳税人名称', prop:'tel'}, {label : '组织机构代码', prop:'tel'}
                    ],
                    data: []
                },
                {
                    title: '开庭公告',
                    cols: [
                        {label : '开庭时间', prop:'name'}, {label : '法院', prop:'bank'}, {label : '案由', prop:'account'}
                    ],
                    data: []
                },
                {
                    title: '裁判文书',
                    cols: [
                        {label : '判决时间', prop:'name'}, {label : '标题', prop:'address'}, {label : '案由', prop:'phone'}
                    ],
                    data: []
                },
                {
                    title: '司法协助',
                    cols: [
                        {label : '公示日期', prop:'name'}, {label : '执行事项', prop:'address'}, {label : '股权数额', prop:'phone'},
                        {label : '被执行人', prop:'type'}
                    ],
                    data: []
                },
                
                {
                    title: '被执行人',
                    cols: [
                        {label : '发布时间', prop:'time'}, {label : '执行标的', prop:'type'}, {label : '执行法院', prop:'use'},
                        {label : '案件状态', prop:'position'}
                    ],
                    data: []
                },
                {
                    title: '失信被执行人',
                    cols: [
                        {label : '发布时间', prop:'name'}, {label : '案由', prop:'address'}
                    ],
                    data: []
                },
                {
                    title: '涉诉公告',
                    cols: [
                        {label : '发布时间', prop:'name'}, {label : '当事人', prop:'address'}, {label : '公告类型', prop:'phone'},
                        {label : '公告人', prop:'type'}
                    ],
                    data: []
                },
            ]
        }
    }
}
</script>
<style lang="scss">

</style>
